package com.base.vistter.iframe.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(value = "inverter")
public class InverterProperties {

    @Value("${inverter.coal-key}")
    private Float coalKey;

    @Value("${inverter.co2}")
    private Float co2;

    @Value("${inverter.tree}")
    private Float tree;

}
